package qnb.entity;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import weixinkeji.vip.expand.poi.JWEOffice;

/**
 * 	教师信息实体类
 * @author 
 *
 */
public class Teacher {
/**
 * 用注解来标记需要上传下载的xls
 */
	@JWEOffice(title = "教师编号",sort =1 )
  private String teacherId;					//教师主键
	@JWEOffice(title = "教师名称",sort = 2)
  private String teacherName; //名称
	@JWEOffice(title = "教师生日",sort = 3,dateformat = "yyyy-MM-dd")
	@JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
  private Date teacherBirthday;	//生日
	@JWEOffice(title = "教师电话",sort = 4)
  private String teacherPhone;				//电话
	@JWEOffice(title = "教师地址",sort = 5)
  private String teacherAddr;				//地址
	@JWEOffice(title = "教师性别",sort = 6)
  private String teacherSex;				//性别
	@JWEOffice(title = "教师邮箱",sort = 7)
  private String teacherEmail;				//邮件
	@JWEOffice(title = "教师账号",sort = 8)
  private String teacherAccount;			//账号
	@JWEOffice(title = "教师密码",sort = 9)
  private String teacherPassword;			//密码

	@JWEOffice(title = "教师入职日期",sort = 10,dateformat = "yyyy-MM-dd")
	@JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
  private Date teacherStartdate;			//入职日期

	@JWEOffice(title = "教师离职日期",sort = 11,dateformat = "yyyy-MM-dd")
	@JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
  private Date teacherEnddate;			//离职日期
	@JWEOffice(title = "教师状态",sort = 12)
  private String teacherSytle;				//状态（在职、离职）


  
  public String getTeacherId() {
    return teacherId;
  }

  public void setTeacherId(String teacherId) {
    this.teacherId = teacherId;
  }


  public String getTeacherName() {
    return teacherName;
  }

  public void setTeacherName(String teacherName) {
    this.teacherName = teacherName;
  }


  public Date getTeacherBirthday() {
    return teacherBirthday;
  }

  public void setTeacherBirthday(Date teacherBirthday) {
    this.teacherBirthday = teacherBirthday;
  }


  public String getTeacherPhone() {
    return teacherPhone;
  }

  public void setTeacherPhone(String teacherPhone) {
    this.teacherPhone = teacherPhone;
  }


  public String getTeacherAddr() {
    return teacherAddr;
  }

  public void setTeacherAddr(String teacherAddr) {
    this.teacherAddr = teacherAddr;
  }


  public String getTeacherSex() {
    return teacherSex;
  }

  public void setTeacherSex(String teacherSex) {
    this.teacherSex = teacherSex;
  }


  public String getTeacherEmail() {
    return teacherEmail;
  }

  public void setTeacherEmail(String teacherEmail) {
    this.teacherEmail = teacherEmail;
  }


  public String getTeacherAccount() {
    return teacherAccount;
  }

  public void setTeacherAccount(String teacherAccount) {
    this.teacherAccount = teacherAccount;
  }


  public String getTeacherPassword() {
    return teacherPassword;
  }

  public void setTeacherPassword(String teacherPassword) {
    this.teacherPassword = teacherPassword;
  }


  public Date getTeacherStartdate() {
    return teacherStartdate;
  }

  public void setTeacherStartdate(Date teacherStartdate) {
    this.teacherStartdate = teacherStartdate;
  }


  public Date getTeacherEnddate() {
    return teacherEnddate;
  }

  public void setTeacherEnddate(Date teacherEnddate) {
    this.teacherEnddate = teacherEnddate;
  }


  public String getTeacherSytle() {
    return teacherSytle;
  }

  public void setTeacherSytle(String teacherSytle) {
    this.teacherSytle = teacherSytle;
  }

  @Override
public String toString() {
	return "Teacher [teacherId=" + teacherId + ", teacherName=" + teacherName + ", teacherBirthday=" + teacherBirthday
			+ ", teacherPhone=" + teacherPhone + ", teacherAddr=" + teacherAddr + ", teacherSex=" + teacherSex
			+ ", teacherEmail=" + teacherEmail + ", teacherAccount=" + teacherAccount + ", teacherPassword="
			+ teacherPassword + ", teacherStartdate=" + teacherStartdate + ", teacherEnddate=" + teacherEnddate
			+ ", teacherSytle=" + teacherSytle + "]";
}
}
